﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Laugh.Data.DatabaseCfg;
using Laugh.Example.Domain.Mapping;

namespace Laugh.Example.Config.Data
{
    public class SqlServer : Database
    {
        public override void DatabaseConfiguration(IDatabaseBuilder dbBuilder)
        {
            dbBuilder.ConnectionString(@"Data Source=.; Initial Catalog=mytest1; Integrated Security=True;")
                .UsingDatabase(DatabaseType.SqlServer);

            var types = new List<Type>();
            //types.Add(typeof(PersonMapping));


            //dbBuilder.AddMappings(types);
        }
    }
}